/**
 * 详情对话框
 */
var BatchOrderInfoDlg = {
    data: {
        batchNo: "",
        batchQuota: "",
        batchCount: "",
        subAllQuota: "",
        subOrderNum: "",
        subDoingNum: "",
        sucessOrderNum: "",
        failOrderNum: "",
        status: "",
        createTime: "",
        updateTime: "",
        deleteFlag: "",
        cardTypeId: "",
        cardTypeName: "",
        cardCataoryId: "",
        cardCataoryName: ""
    }
};

layui.use(['form', 'admin', 'ax'], function () {
    var $ = layui.jquery;
    var $ax = layui.ax;
    var form = layui.form;
    var admin = layui.admin;

    //让当前iframe弹层高度适应
    admin.iframeAuto();

    /*//获取详情信息，填充表单
    var ajax = new $ax(Feng.ctxPath + "/batchOrder/detail?batchId=" + Feng.getUrlParam("batchId"));
    var result = ajax.start();*/
    //form.val('batchOrderForm', result.data);


    //返回按钮
    $("#backupPage").click(function () {
        window.location.href = Feng.ctxPath + '/batchOrder'
    });

    //订单明细
    $("#toOrders").click(function () {
        window.location.href = Feng.ctxPath + '/order?batchOrderId=' + $("#batchId").val()+"&source=batch";
    });

});
